package com.xxxx.mapper;

import com.xxxx.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/*
 用户接口类
 */
public interface UserMapper {
    public User queryUserByName(String userName);
    public List<User> selectAllUser();
    public void insertUser(@Param("userName") String userName,@Param("userPwd") String userPwd);
    public void deleteUser(String userName);
    public void updateUser(@Param("userAge")Integer userAge,@Param("userRoom")String userRoom,@Param("userSex")String userSex,@Param("userName")String userName);
    public void updateUserPwd(@Param("userPwd")String userPwd,@Param("userName")String userName);
}
